package com.hkbigdata.sybx.service.ipml;

import com.hkbigdata.sybx.bean.SubsidyPolicy;
import com.hkbigdata.sybx.mapper.SubsidyPolicyMapper;
import com.hkbigdata.sybx.service.SubsidyPolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2025-06-03-16:04
 * @see 2194550857@qq.com
 */
@Service
public class SubsidyPolicyServiceImpl implements SubsidyPolicyService {
    @Autowired
    private SubsidyPolicyMapper subsidyPolicyMapper;
    @Override
    public List<SubsidyPolicy> SelectSubsidyPolicy() {
        List<SubsidyPolicy> subsidyPolicies = subsidyPolicyMapper.selectAll();
        if (subsidyPolicies != null) {
            return subsidyPolicies;
        }
        return null;
    }
}
